/********************************************************************
  Copyright by PCI, 2002-10-08
  File Name: db_ppm_prod_platform_his.cxx
  Created Date: 2002-10-08 
  Author: Machine
  Version: 1.0 
  Last Version Date: 
  Version Date:
*******************************************************************/
/********************************************************************
  Copyright by PCI, 2002-10-08
  Class Name: CTable_PPM_PROD_PLATFORM_HIS
  Created Date: 2002-10-08 
  Author: Machine
  Defined File: db_ppm_prod_platform_his.hxx
  Last Version Date: 
  Version Date:
*******************************************************************/
#include "table_ppm.h"

CTable_PPM_PROD_PLATFORM_HIS::CTable_PPM_PROD_PLATFORM_HIS( )
 :NPCRecordSet( )
{
  setTableName( "PPM_PROD_PLATFORM_HIS" );
  prepareTable();
  prepareQuery();
 
  HIS_ID.setField( "HIS_ID", DATA_CHAR, 30, 1 );
  makeTableItem( HIS_ID );
  makeKeyItem( HIS_ID );
  ID.setField( "ID", DATA_CHAR, 30, 0 );
  makeTableItem( ID );
  NAME.setField( "NAME", DATA_CHAR, 1024, 0 );
  makeTableItem( NAME );
  OPERATOR.setField( "OPERATOR", DATA_CHAR, 1024, 0 );
  makeTableItem( OPERATOR );
  STATION.setField( "STATION", DATA_CHAR, 1024, 0 );
  makeTableItem( STATION );
  INTERFACE_DESC.setField( "INTERFACE_DESC", DATA_CHAR, 1024, 0 );
  makeTableItem( INTERFACE_DESC );
  APP_ID.setField( "APP_ID", DATA_CHAR, 20, 0 );
  makeTableItem( APP_ID );
  APP_STATE.setField( "APP_STATE", DATA_CHAR, 20, 0 );
  makeTableItem( APP_STATE );
}


CTable_PPM_PROD_PLATFORM_HIS::CTable_PPM_PROD_PLATFORM_HIS( NPConnection& pcldb )
 :NPCRecordSet( pcldb )
{
  setTableName( "PPM_PROD_PLATFORM_HIS" );
  prepareTable();
  prepareQuery();
 
  HIS_ID.setField( "HIS_ID", DATA_CHAR, 30, 1 );
  makeTableItem( HIS_ID );
  makeKeyItem( HIS_ID );
  ID.setField( "ID", DATA_CHAR, 30, 0 );
  makeTableItem( ID );
  NAME.setField( "NAME", DATA_CHAR, 1024, 0 );
  makeTableItem( NAME );
  OPERATOR.setField( "OPERATOR", DATA_CHAR, 1024, 0 );
  makeTableItem( OPERATOR );
  STATION.setField( "STATION", DATA_CHAR, 1024, 0 );
  makeTableItem( STATION );
  INTERFACE_DESC.setField( "INTERFACE_DESC", DATA_CHAR, 1024, 0 );
  makeTableItem( INTERFACE_DESC );
  APP_ID.setField( "APP_ID", DATA_CHAR, 20, 0 );
  makeTableItem( APP_ID );
  APP_STATE.setField( "APP_STATE", DATA_CHAR, 20, 0 );
  makeTableItem( APP_STATE );
}

CTable_PPM_PROD_PLATFORM_HIS::~CTable_PPM_PROD_PLATFORM_HIS( )
{
    close();
}

